package com.ruicar.afs.cloud.afscase.approvetask.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.approvetask.entity.WorkProcessScheduleInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-17 11:33
 */
public interface WorkProcessScheduleInfoService extends IService<WorkProcessScheduleInfo> {
    /**
     * 通过流程编号和申请编号去查询流程对象
     *
     * @param applyNo
     * @param stageNo
     * @return
     * @author yk.Li
     */
    WorkProcessScheduleInfo findByApplyAndStageNo(String applyNo, String stageNo);


    List<String> queryFlowInstanceIdsByApplyNo(String applyNo);
}
